package com.chen.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chen.pojo.entity.ContactGroup;
import com.chen.pojo.entity.ContactMethods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 陈子安
 * @since 2023-12-02
 */
@Data
@ApiModel(value = "ContactPerson对象", description = "接收新建联系人和修改联系人的实体类")
public class ContactPersonDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "名")
    private String firstName;

    @ApiModelProperty(value = "姓")
    private String lastName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "用户组前端传递的组的id号")
    private List<ContactGroup> groups;

    @ApiModelProperty(value = "用户的联系方式")
    private List<ContactMethods> methodsList;


}
